/* 错误页面整体容器 */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background-color: #f9f9f9; /* 轻微背景色，避免纯白单调 */
}

/* 错误标题 */
.error-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

/* 错误提示文字 */
.error-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* 按钮容器（用于排列按钮） */
.error-buttons {
  display: flex;
  gap: 15px; /* 按钮之间的间距 */
}

/* 重新加载按钮 */
.reload-btn {
  padding: 10px 20px;
  background-color: #8b4513; /* 棕色主色调，与业务风格呼应 */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.reload-btn:hover {
  background-color: #6a3418; /*  hover 时加深颜色 */
}

/* 返回首页按钮 */
.home-btn {
  padding: 10px 20px;
  background-color: #fff;
  color: #8b4513;
  border: 1px solid #8b4513;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background-color: #8b4513;
  color: #fff;
}



.adm-rate{
--star-size: 10px;
}
.date-selector,.time-selector{
overflow-x: auto;
}

/* 基础样式 */
.therapy-detail-page {
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background-color: #F5F0EB;
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238d6e63' fill-opacity='0.05'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #333;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 顶部导航 */
.detail-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 16px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-title {
  font-size: 18px;
  font-weight: 600;
  color: #8b4513;
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.header-btn {
  color: #8b4513 !important;
  background-color: rgba(139, 69, 19, 0.1) !important;
  width: 36px !important;
  height: 36px !important;
}

/* 轮播图样式 */
.carousel-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  width: 100%;
  flex-shrink: 0;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: #fff;
  width: 24px;
  border-radius: 4px;
}

/* 项目基本信息 */
.project-basic {
  background-color: #fff;
  padding: 16px;
  border-bottom: 1px solid #f5f0eb;
}

.project-title-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.project-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.project-tag {
  color: white !important;
  margin-top: 2px;
}

.project-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rating-value {
  font-weight: 600;
  color: #8b4513;
}

.rating-count {
  color: #666;
  font-size: 14px;
}

.rating-good {
  color: #52c41a;
  font-size: 14px;
  margin-left: auto;
}

.project-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.current-price {
  font-size: 22px;
  font-weight: 600;
  color: #ff4d4f;
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}



/* 项目信息 */
.project-info {
  background-color: #fff;
  padding: 16px;
  border-bottom: 1px solid #f5f0eb;
}

.info-row {
  display: flex;
  justify-content: space-between;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 14px;
}

.info-icon {
  color: #8b4513;
}

/* 通用区块样式 */
.td_section-container {
  background-color: #fff;
  margin-top: 10px;
  padding: 16px;
}

.section-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 16px 0;
  position: relative;
  padding-left: 8px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background-color: #8b4513;
  border-radius: 3px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-icon {
  color: #8b4513;
}

/* 适用人群 */
.suitable-people {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.people-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #f5f0eb;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.people-icon {
  font-size: 16px;
}

/* 服务流程 */
.service-process {
  position: relative;
  padding-left: 36px;
}

.process-item {
  position: relative;
  margin-bottom: 24px;
}

.process-number {
  position: absolute;
  left: -36px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(139, 69, 19, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon {
  color: #8b4513;
}

.process-title {
  font-weight: 600;
  margin: 0 0 6px 0;
  font-size: 16px;
}

.process-desc {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.process-line {
  position: absolute;
  left: -22px;
  top: 28px;
  width: 1px;
  height: calc(100% + 12px);
  background-color: #eaeaea;
}

.service-empty{
  text-align: center;
}


/* 用户评价 */
.reviews-container {
  margin-top: 10px;
}

.review-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f0eb;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-content {
  flex: 1;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.review-name {
  font-weight: 500;
  margin-right: 8px;
}

.review-text {
  font-size: 14px;
  margin: 0 0 6px 0;
  line-height: 1.5;
}

.review-date {
  font-size: 12px;
  color: #999;
}

.more-reviews {
  width: 100%;
  background-color: transparent !important;
  color: #8b4513 !important;
  border-color: #8b4513 !important;
  margin-top: 10px;
}

/* 预约区域 - 已调整为标准区块样式 */
.booking-options {
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.option-title {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
}

.date-options, .time-options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.date-options::-webkit-scrollbar, .time-options::-webkit-scrollbar {
  display: none;
}

.date-btn, .time-btn {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background-color: #fff;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.date-btn.selected, .time-btn.selected {
  border-color: #8b4513;
  color: #8b4513;
  background-color: rgba(139, 69, 19, 0.05);
  font-weight: 500;
}

.book-now-btn {
  width: 100%;
  background-color: #8b4513 !important;
  color: white !important;
  height: 48px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
}

.no-time-slots{
  width: 100vw;
}
    